ifndef CPU_TARGET
override CPU_TARGET=i386
endif

all: rtl

rtl:
	fpc -Us -P$(CPU_TARGET) system.pas
	fpc -P$(CPU_TARGET) objpas.pas
	fpc -P$(CPU_TARGET) classes.pas

clean:
	rm -f $(wildcard *.ppu *.o)